package com.souyun.serverblogarticle.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

// http://localhost:8090/article/hi

@RestController
@RequestMapping("article")
public class ArticleController {

    @RequestMapping(value = "/hi")
    public String hi() {
        return "hi, my name is server-blog-article:8090";
    }

}
